﻿using System;
using Domain.Infrastructure;

namespace System.Domain.Entity
{
    /// <summary> 
    ///模块权限 实体 
    /// </summary>	
    public class SysModuleAuthorizeEntity : Entity<SysModuleAuthorizeEntity>, ICreationAudited, IModifyAudited, IDeleteAudited
    {

        /// <summary>
        /// 按钮主键
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 模块主键
        /// </summary>
        public string ModuleId { get; set; }

        /// <summary>
        /// 父级
        /// </summary>
        public string ParentId { get; set; }

        /// <summary>
        /// 层次
        /// </summary>
        public int? Layers { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string EnCode { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string FullName { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 位置
        /// </summary>
        public int? Location { get; set; }

        /// <summary>
        /// 事件
        /// </summary>
        public string JsEvent { get; set; }

        /// <summary>
        /// 连接
        /// </summary>
        public string UrlAddress { get; set; }

        /// <summary>
        /// 分开线
        /// </summary>
        public bool? Split { get; set; }

        /// <summary>
        /// 公共
        /// </summary>
        public bool? IsPublic { get; set; }

        /// <summary>
        /// 允许编辑
        /// </summary>
        public bool? AllowEdit { get; set; }

        /// <summary>
        /// 允许删除
        /// </summary>
        public bool? AllowDelete { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>
        public int? SortCode { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool? DeleteMark { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        public bool? EnabledMark { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreatorTime { get; set; }

        /// <summary>
        /// 创建用户主键
        /// </summary>
        public string CreatorUserId { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LastModifyTime { get; set; }

        /// <summary>
        /// 最后修改用户
        /// </summary>
        public string LastModifyUserId { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }

        /// <summary>
        /// 删除用户
        /// </summary>
        public string DeleteUserId { get; set; }



    }


}
